import fetch from './fetch'
/**
 * 获取活动分类
 * @param query
 * @returns {*}
 */
export function activity_cate(query) {
    return fetch({
        url: 'wapapi/art/activity_cate',
        method: 'get',
        params: query
    })
}
/**
 * 获取活动列表
 * @param query
 * @returns {*}
 */
export function activity_list(query) {
    return fetch({
        url: 'wapapi/art/activity_list',
        method: 'get',
        params: query
    })
}
/**
 * 获取活动详情
 * @param query
 * @returns {*}
 */
export function activity_visit(query) {
    return fetch({
        url: 'wapapi/art/activity_visit',
        method: 'get',
        params: query
    })
}
/**
 * 报名活动
 * @param query
 * @returns {*}
 */
export function activity_recruit_add(query) {
    return fetch({
        url: 'wapapi/art/activity_recruit_add',
        method: 'get',
        params: query
    })
}